﻿using Report_Unity.Basic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Report_IService.Web
{
    public interface IT_UserService
    {
        ResultInfo GetLoginTicket(string hid);
        ResultInfo RegOrLoginWithCode(string hid, string phone, string code, string ipaddr);
        ResultInfo Login(string hid, string phone, string pwd, string ipaddr, string ticket, string code);
        ResultInfo GetPersonalInfo(string userid, string hid);
        ResultInfo GetUser(string userid, string hid);
        ResultInfo SendCode(string userid, string hid, string phone);
        ResultInfo EditPhone(string userid, string hid, string phone, string code);
        ResultInfo EditUser(string userid, string hid, string idcard, string sex, string birthday, string name);
    }
}
